package com.kefan.reptilemanagement.service;

import com.kefan.reptilemanagement.common.entities.Application;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sjj
 * @since 2024-05-03
 */
public interface ApplicationService extends IService<Application> {

    //添加申请
    Application add(Application application);
    //修改申请
    Application exchange(Application application);
    //删除修改
    Application delete(Long id);
    //查看申请
    List<Application> getApplicationList(Long userId,Integer status,String name);
    //取消申请
    Application cancelApplication(Long id);

    Application acceptApplication(Long id);
}
